﻿@model Zero.Web.ViewModels.DetailViewModel<Zero.Entity.Models.Sys_Menu>
<div class="pageContent">
	
	<form method="post" action="/Menus/@Model.OpMethod" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>菜单名称：</label>
				<input type="text" name="MenuName" size="30" value="@Model.Model.MenuName" minlength="2" maxlength="8" class="required" />
                </div>
            <div class="unit">
                <label>菜单编号：</label>
                <input type="text" name="MenuNo" size="30" value="@Model.Model.MenuNo" readonly="true" class="required" />
			</div>
			<div class="unit">
				<label>菜单链接：</label>
				<input type="text" name="MenuUrl" size="30" value="@Model.Model.MenuUrl" class="required" />
			</div>
            <div class="unit">
				<label>菜单排序：</label>
				<input type="text" name="OrderIndex" size="30" value="@Model.Model.OrderIndex" class="required" />
			</div>
            <div class="unit">
				<label>菜单状态：</label>

                <label>
                    @Html.RadioButtonFor(model=>model.Model.IsEnable,true) 启用
                    @Html.RadioButtonFor(model=>model.Model.IsEnable,false) 禁用
				</label>
			</div>
			<div class="unit">
				
				<input type="hidden" name="MenuID"  value="@Model.Model.MenuID" />
                <input type="hidden" name="MenuParentID"  value="@Model.Model.MenuParentID" />
                <input type="hidden" name="IsDel"    value="False @Model.Model.IsEnable" />
                
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>